package com.retail.common.domain.response.ums;


import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 账户流水
 * @TableName ums_integration_history
 */
@TableName(value ="ums_integration_history")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class UmsIntegrationHistory implements Serializable {
    /**
     * id
     */
    @TableId
    private Long id;

    /**
     * member_id
     */
    private Long userId;

    /**
     * 账户流水号
     */
    private String integralStream;

    /**
     * 账户余额
     */
    private Integer count;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 来源(0-充值1-消费2-提现3-返佣
     */
    private Integer sourceType;

    /**
     * 备注
     */
    private String remark;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
